package org.lztvn.elearning.service;

import java.util.List;

import org.lztvn.elearning.entities.Topic;

public interface ITopicService {
	public Long addTopic(Topic t);

	public void deleteTopic(Long idTopics);

	public void modifierTopic(Topic t);

	public List<Topic> listTopic(int position, int nb_topic);
	
	public List<Topic> listTopicByUserId(Long idUser, int position, int nb_topic);
	
    public Topic getTopic(Long idTopic);
	
	public Long getNbTopicByUserId(Long idTopic);
	
	public Long getNbTopic();
}
